//调用request.js请求工具
import request from "@/utils/request";
//注册
export const registerService = (registerData) => {
  var params = new URLSearchParams();
  for (let key in registerData) {
    params.append(key, registerData[key]);
  }
  return request.post("/user/register", params);
};
export const getAllPeriodical = () => {
  return request.get("/periodical/getAll");
};
export const createManuscript = (data) => {
  return request.post("/manuscript/saveManuscript",data);
};
